{extend name="base_mobile" /}
{block name="css"}
<link rel="stylesheet" href="__CSS__/fonts.css">
<link href="__USER__/css/mobile_index.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
	.bgGreen{color:#1BC5BB !important;}
	.bgRed{background:#EE4B47 !important;}
	.demo{width:100%; height:80px; text-align:center; color:#FFF; line-height:80px; font-size:22px; margin:5px; background:#3388FF;}

	</style>
{/block}
{block name="body"}
<header class="hui-header">
    <div id="hui-back"></div>
    <h1>功能列表</h1>
    <div id="hui-header-menu" onclick="hui.showSlideMenu();"></div>
</header>
<div class="list-wrap">
    <div class="aui-health-head" style="margin-top:40px;">
        <div class="aui-flex" style="margin-top:20px;">
            <div class="aui-flex-box">
                <h1>{$shop.shopname}（{$user.realname}）</h1>
                <h3>{$shop.exp_time}</h3>
            </div>
        </div>
        <div class="aui-palace  aui-palace-text">
            <a href="javascript:;" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span>{$data.all_customer}</span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>我的客户</h2>
                </div>
            </a>
            <a href="javascript:;" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span>{$data.all_track}</span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>我的回访</h2>
                </div>
            </a>
            <a href="javascript:;" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span>{$data.remind_no}</span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>我的提醒</h2>
                </div>
            </a>
            <a href="javascript:;" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span>{$data.all_order}</span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>我的订单</h2>
                </div>
            </a>
        </div>
    </div>
    <div class="aui-health-box aui-health-box-top">
        <div class="aui-palace ">
            <a href="javascript:hui.open('/user/customer/add');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="hui-danger-txt fa fa-plus-circle"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>新增客户</h2>
                </div>
            </a>
            <a href="javascript:hui.open('{:url('user/customer/index',['screen' => 'star'])}');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="hui-primary-txt fa fa-star"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>星级客户</h2>
                </div>
            </a>
            <a href="javascript:hui.open('{:url('user/customer/remind', ['type' => 1])}');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="fa fa-bell"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>今日待处理</h2>
                </div>
            </a>
            <a href="javascript:hui.open('{:url('user/index/info')}');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="hui-success-txt fa fa-user"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>个人信息</h2>
                </div>
            </a>
            
        </div>
    </div>
    
    <div class="aui-health-box">
        <div class="aui-palace ">
            <a href="javascript:hui.open('{:url('user/customer/index',['screen' => 'today_add'])}');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="hui-danger-txt fa fa-address-book"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>今日新增客户</h2>
                </div>
            </a>
            <a href="javascript:hui.open('{:url('user/customer/index',['screen' => 'today_track'])}');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="hui-primary-txt fa fa-address-book"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>今日跟进客户</h2>
                </div>
            </a>
            <a href="javascript:hui.open('{:url('user/customer/index',['screen' => '30day_notrack'])}');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="fa fa-address-book"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>30天未跟进</h2>
                </div>
            </a>
            <a href="javascript:hui.open('{:url('user/customer/index',['screen' => 'notrack'])}');" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <span><i class="hui-success-txt fa fa-address-book"></i></span>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>从未跟进</h2>
                </div>
            </a>
            
        </div>
    </div>
    
    <div class="aui-health-box">
        {foreach name="navbar" item="v"}
        {if $v['id']=='4'}
        {foreach name="v['children']" item="n1"}
        <a href="javascript:hui.open('{$Request.root.true}/{$n1.url}');" class="aui-flex b-line">
            <div class="aui-cou-img">
                <i class="{$n1.icon}"></i>
            </div>
            <div class="aui-flex-box">
                <p>{$n1.name}</p>
            </div>
            <div class="aui-ren-arrow">
                <span></span>
            </div>
        </a>
        {/foreach}
        {/if}
        {/foreach}
    </div>
 
<br><br><br>
{/block}